﻿/**
 * 
 */
package resources;

import java.io.File;

import javax.xml.validation.Schema;
import javax.xml.validation.SchemaFactory;

import org.xml.sax.SAXException;

/**
 * @author LAP
 *
 */
final public class Resource {
	public static final Schema getSchema() throws SAXException{
		SchemaFactory schemaFactory = SchemaFactory.newInstance(
				"http://www.w3.org/2001/XMLSchema");
		Schema schema = schemaFactory.newSchema(new File("resource/ValidationScheme.xsd"));
		return schema;
	}
}
